package com.github.io.utils;

import java.util.List;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/28 14:11
 * Description: 定义属性 Model (用于快速实现构建树形结构)
 */
public interface TreeModel<T> {
    
    String getId();
    
    String getPid();
    
    T setChildren(List<T> children);
}
